package com.chuangke.admin.service;

import java.util.List;
import java.util.Map;

import com.chuangke.admin.entity.SysUserRole;

public interface SysUserRoleService {

	Map<String,List<SysUserRole>> findAll() ;
	
	void deleteByUserId(String id) ;
	
	void deleteByUserIds(List<String> ids) ;
	
	void insert(List<SysUserRole> list) ;

	/**迁移到SysUserRoleQueryService*/
//	List<SysUserRole> findByUserId(String id) ;
	
//	List<SysRole> findRoleByUserId(String id) ;
	
//	List<SysUser> findUserByRoleName(String role) ;

	void deleteByRoleId(String roleId);
}
